package com.hy.erp.inventory.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Index;

import com.hy.erp.inventory.dao.interfaces.IMaterialsUseDao;
import com.hy.erp.inventory.pojo.interfaces.ILocationType;
import com.hy.erp.inventory.pojo.interfaces.IMaterialsUse;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.api.annotation.DaoA;
//import com.hy.erp.inventory.vsoft.libra.enterprise.framework.persistence.entity.AbstractPersistentEntity;
import com.hy.mydesktop.shared.persistence.domain.gxt.MyBaseModel;

/**
 * 
 * <ul>
 * <li>开发作者：李冰</li>
 * <li>设计日期：2010-10-5；时间：上午09:27:57</li>
 * <li>类型名称：MaterialsUse</li>
 * <li>设计目的：物料用途</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
/*@Name("materialsUse")
@ Entity ( name = "materialsUse" )
@Table(name="materialsUse") 
@ DaoA ( IMaterialsUseDao.class )*/
//public class MaterialsUse  extends AbstractPersistentEntity implements IMaterialsUse
public class MaterialsUse extends MyBaseModel //implements IPositonType
{                                       
  
   
/**
 * 
 */
	private static final long	serialVersionUID	=
														5539243553997965683L ;

   
  
  
public MaterialsUse (
					 )
{

}

public MaterialsUse (
						
						String materialsUseContent )
{
	super ( ) ;
	
	
	
}
@ Column ( name = "materialsUseContent" , length = 100 )
	@ Index ( name = "materialsUseContentIndex" )
public String getMaterialsUseContent ( )
{
	return this.get(IMaterialsUse.MATERIALUSECONTENT) ;
}

public void setMaterialsUseContent (
										String materialsUseContent )
{
	super.set (IMaterialsUse.MATERIALUSECONTENT , materialsUseContent );
}

@ Column ( name = "description" , length = 50)
@ Index ( name = "descriptionIndex" )
public String getDescription ( )
{
	return this.get(IMaterialsUse.DESCRIPTION) ;
}
public void setDescription (
								String description )
{
	super.set (IMaterialsUse.DESCRIPTION , description );
}
}
